package com.dy.lock.screen.service.impl;

import javax.annotation.Resource;
import org.springframework.stereotype.Service;
import com.dy.lock.screen.dao.SoftwareVersionDao;
import com.dy.lock.screen.pojo.SoftwareVersionInfo;
import com.dy.lock.screen.service.SoftwareVersionService;
@Service("softwareVersionService")
public class SoftwareVersionServiceImpl implements SoftwareVersionService {
	@Resource(name = "softwareVersionDao")
	private SoftwareVersionDao softwareVersionDao;
	
	@Override
	public SoftwareVersionInfo getSoftwareVersion() {
		return this.softwareVersionDao.queryLastVersion();
	}

}
